home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / library.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  2.0 KB  |  52 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-54]
  2. [C;6;B]        LIBRARY or LIB or -L [[<filename> ...]
  3. [7]Default: OBJECT
  4. [J;1;N]
  5.   Defines files which will be used as libraries. This means \
  6. that only necessary hunks (or units) will be included in \
  7. the destination file. The selection between hunk or unit \
  8. basis is done via BLOCKHUNK or BLOCKUNIT. The default \
  9. is BLOCKHUNK until you specify DICE or SLINK.
  10.  
  11.   The file name may include wild cards. Wild card should be \
  12. avoid when you use CC, DICE or SLINK instructions because the \
  13. order of libraries objects is VERY important (The first symbol \
  14. found is the symbol which will be used.)
  15.   The AUTOLIBRARY command will be used to avoid the usage of \
  16. the LIBRARY keyword. If the DICE flag was used, all files with \
  17. the extension '.lib' will be taken as libraries.
  18.  
  19.   For each given name specified after the LIBRARY instruction, \
  20. lk search the file in:
  21.  
  22.     . the current directory
  23.     . the LK:LIB/ directory when it exists
  24.     . the LIB: directory when it exists
  25.  
  26. lk will search only the current directory if the file name \
  27. include a path. A path is included when a slash (/) or \
  28. colon (:) character appear in the file name.
  29.   This feature does not actually work when you use \
  30. AUTOLIBRARY flag.
  31.  
  32.   To ensure that your libraries are loaded with the normal \
  33. memory requirement you should use the instruction DEFAULT.
  34.  
  35.   When you are creating a library, this function enables \
  36. you to generate an independant library. If the library \
  37. A needs the library B to be linked, because it uses some hunks \
  38. from B, joining library A with library B (With JOIN instrucion \
  39. in your CLI) may generates a big file, linking library A with \
  40. file B specified as a library should generate a smaller result.
  41.  
  42.   See also:
  43. [L;3][LINK autolibrary]            AUTOLIBRARY
  44. [LINK block]                BLOCKHUNK
  45. [LINK block]                BLOCKUNIT
  46. [LINK default]                DEFAULT
  47. [LINK fd]                FD
  48. [LINK filename]                <filename>
  49. [LINK fdlib]                FDLIB
  50. [LINK object]                OBJECT
  51. [5; LINK about; GOTO address]        Become Registred
  52.